package cn.qingyun.gis.modules.init.system.constant;

import java.io.Serializable;

/**
 * Created by kellen on 2017/6/20.
 * 国际化message基础常量
 */
public class MessageCodeConstant implements Serializable {

    /**
     * 成功
     */
    public static final String MESSAGE_COMMON_SUCCESS = "message.common.success";

    /**
     * 失败
     */
    public static final String MESSAGE_COMMON_FAILED = "message.common.failed";

    /**
     * 信息不存在
     */
    public static final String MESSAGE_COMMON_INFORMATION_NONEXISTENCE = "message.common.information.nonexistence";

    /**
     * 支付方式错误
     */
    public static final String MESSAGE_PAYMENT_TYPE_ERROR = "message.payment.type.error";

    /**
     * 服务器处理异常
     */
    public static final String MESSAGE_COMMON_SERVER_ERROR = "message.common.server.error";

    /**
     * 参数不全
     */
    public static final String MESSAGE_COMMON_PARAMETERS_MISSING = "message.common.parameters.missing";

    /**
     * 请求超时
     */
    public static final String MESSAGE_COMMON_TIMEOUT = "message.common.timeout";

    /**
     * 信息已存在
     */
    public static final String MESSAGE_COMMON_INFORMATION_ALREADYEXISTS = "message.common.information.already.exists";

    /**
     * 登录状态失效
     */
    public static final String MESSAGE_COMMON_SESSION_EXPIRED = "message.common.session.expired";

    /**
     * 验证失败
     */
    public static final String MESSAGE_SECURITY_AUTHFAILED = "message.security.authfailed";

    /**
     * 无权限访问
     */
    public static final String MESSAGE_SECURITY_UNAUTHORIZED = "message.security.unauthorized";

    /**
     * 插入失败
     */
    public static final String MESSAGE_COMMON_INSERTFAILD = "message.common.insert.faild";

    /**
     * 删除失败
     */
    public static final String MESSAGE_COMMON_DELETEFAILD = "message.common.delete.faild";


    /**
     * 签名验证失败
     */
    public static final String MESSAGE_APP_SIGN_AUTHFAILED = "message.app.sign.authfailed";


    /**
     * 签名过期
     */
    public static final String MESSAGE_APP_SIGN_EXPIRED = "message.app.sign.expired";
    /**
     * 入参非法
     */
    public static final String MESSAGE_SYS_ERROR_400 = "message.sys.error.400";
    /**
     * 资源不存在
     */
    public static final String MESSAGE_SYS_ERROR_404 = "message.sys.error.404";
    /**
     * 服务器异常
     */
    public static final String MESSAGE_SYS_ERROR_500 = "message.sys.error.500";
    /**
     * 跳转异常
     */
    public static final String MESSAGE_SYS_ERROR_302 = "message.sys.error.302";

    /**
     * 未知编码
     */
    public static final String MESSAGE_SYS_CODE_9999 = "message.common.success";
    /**
     * 通用http响应成功编码
     */
    public static final String MESSAGE_SYS_CODE_200 = "message.common.success";
}
